package com.jackiechancinema.ssm.service.Inte;

import com.github.pagehelper.PageInfo;
import com.jackiechancinema.ssm.bo.OfficialBo;
import com.jackiechancinema.ssm.entity.Movices;
import com.jackiechancinema.ssm.entity.Official;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;

import java.util.List;

public interface OfficialService {
    //查询所有
    PageInfo<Official> findAll(int page, int limit);
    //新增
    R OffAdd(Official official);
    //修改
    R OffUpdate(Official official);
    //根据ID删除
    R OffDel(int id);

    PageVo<Official> findAllV2(OfficialBo bo);
}
